package org.shay.springcloud.service.user.wrapper;

import org.shay.springcloud.common.Constants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author shay
 * @date 2020/5/9
 */
@FeignClient(value = Constants.APP_NAME_SYSTEM)
@RequestMapping("nacos")
public interface SystemService {

	/**
	 * 获取配置
	 *
	 * @param key
	 * @return
	 */
	@GetMapping("test")
	String test(@RequestParam("key") String key);
}
